package cn.qyl.joha.utils;

import java.util.Date;

public class RandomUtils {
	//随机生成订单code
	public static String getOrderCode(){
		StringBuilder code =new StringBuilder();
		Date date = new Date();
		long times = date.getTime();
		//po_时间毫秒数
		code.append("Po_"+times);
		return code.toString();
	}
	//随机生成激活的字符串
	public static String getAuthCode(){
		StringBuilder code =new StringBuilder();
		Date date = new Date();
		long times = date.getTime();
		code.append("johanna"+times);
		return code.toString();
		
	}
}
